<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>My Project: syslog4cj.impl.net.TCPNetSyslogWriter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">My Project
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacesyslog4cj.html">syslog4cj</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl.html">impl</a></li><li class="navelem"><a class="el" href="namespacesyslog4cj_1_1impl_1_1net.html">net</a></li><li class="navelem"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html">TCPNetSyslogWriter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">syslog4cj.impl.net.TCPNetSyslogWriter Class Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for syslog4cj.impl.net.TCPNetSyslogWriter:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.png" usemap="#syslog4cj.impl.net.TCPNetSyslogWriter_map" alt=""/>
  <map id="syslog4cj.impl.net.TCPNetSyslogWriter_map" name="syslog4cj.impl.net.TCPNetSyslogWriter_map">
<area href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html" alt="syslog4cj.impl.AbstractSyslogWriter" shape="rect" coords="0,0,247,24"/>
<area href="classsyslog4cj_1_1impl_1_1net_1_1TlsTCPNetSyslogWriter.html" alt="syslog4cj.impl.net.TlsTCPNetSyslogWriter" shape="rect" coords="0,112,247,136"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a54900e6c6ba96a256f8565f4cd1313b9"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a54900e6c6ba96a256f8565f4cd1313b9">init</a> ()</td></tr>
<tr class="separator:a54900e6c6ba96a256f8565f4cd1313b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c2b2bf86e1819f853adcfcf5ca2119c"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a7c2b2bf86e1819f853adcfcf5ca2119c">initialize</a> (<a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslog.html">AbstractSyslog</a> abstractSyslog)</td></tr>
<tr class="separator:a7c2b2bf86e1819f853adcfcf5ca2119c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad827f78983f7cf551615388cfed83b0f"><td class="memItemLeft" align="right" valign="top">public override func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#ad827f78983f7cf551615388cfed83b0f">write</a> (Array&lt; Byte &gt; message)</td></tr>
<tr class="separator:ad827f78983f7cf551615388cfed83b0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaef31a149a463ad3b997442284cee2c3"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#aaef31a149a463ad3b997442284cee2c3">flush</a> ():Unit</td></tr>
<tr class="separator:aaef31a149a463ad3b997442284cee2c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1962d552192da8660318d3ae84220e2"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#aa1962d552192da8660318d3ae84220e2">shutdown</a> ():Unit</td></tr>
<tr class="separator:aa1962d552192da8660318d3ae84220e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html">syslog4cj.impl.AbstractSyslogWriter</a></td></tr>
<tr class="memitem:afc118259e7566721f61f4a2491610224 inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#afc118259e7566721f61f4a2491610224">initialize</a> (<a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslog.html">AbstractSyslog</a> abstractSyslog)</td></tr>
<tr class="separator:afc118259e7566721f61f4a2491610224 inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade83d77f224df0fb8845556bc945a2bf inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#ade83d77f224df0fb8845556bc945a2bf">queue</a> (Int64 level, Array&lt; Byte &gt; message)</td></tr>
<tr class="separator:ade83d77f224df0fb8845556bc945a2bf inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a370e06aa4e0a34c99fd25976799c664e inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a370e06aa4e0a34c99fd25976799c664e">setThread</a> (Future&lt; Unit &gt; thread)</td></tr>
<tr class="separator:a370e06aa4e0a34c99fd25976799c664e inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8ed59260be3ea338bbb1aa7838741ed inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#ac8ed59260be3ea338bbb1aa7838741ed">hasThread</a> ()</td></tr>
<tr class="separator:ac8ed59260be3ea338bbb1aa7838741ed inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ea324de62a9f132bd00bb9fe2c163da inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a2ea324de62a9f132bd00bb9fe2c163da">write</a> (Array&lt; Byte &gt; message):Unit</td></tr>
<tr class="separator:a2ea324de62a9f132bd00bb9fe2c163da inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dfceb88cd2f9ca839de0ac80e12af77 inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a7dfceb88cd2f9ca839de0ac80e12af77">flush</a> ():Unit</td></tr>
<tr class="separator:a7dfceb88cd2f9ca839de0ac80e12af77 inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50fa8fce5f6626d46ee0b3c5a60fe5e3 inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a50fa8fce5f6626d46ee0b3c5a60fe5e3">shutdown</a> ():Unit</td></tr>
<tr class="separator:a50fa8fce5f6626d46ee0b3c5a60fe5e3 inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74264efb396b8510e67ba1beddf0e54a inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">public func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a74264efb396b8510e67ba1beddf0e54a">run</a> ():Unit</td></tr>
<tr class="separator:a74264efb396b8510e67ba1beddf0e54a inherit pub_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-methods" name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a94f96eb9d69af2a16f64f83c933460db"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a94f96eb9d69af2a16f64f83c933460db">getOutput</a> ():OutputStream</td></tr>
<tr class="separator:a94f96eb9d69af2a16f64f83c933460db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb97983e4a436e32786d1b7283d831b2"><td class="memItemLeft" align="right" valign="top">protected open func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#abb97983e4a436e32786d1b7283d831b2">createSocket</a> (IPAddress hostAddress, UInt16 port, Bool keepalive)</td></tr>
<tr class="separator:abb97983e4a436e32786d1b7283d831b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5797eccd3568c1e973a08408821d613e"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a5797eccd3568c1e973a08408821d613e">getSocket</a> ()</td></tr>
<tr class="separator:a5797eccd3568c1e973a08408821d613e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3daaea05fd8408beccb599fd926a560"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#ab3daaea05fd8408beccb599fd926a560">closeSocket</a> (?TcpSocket socketToClose)</td></tr>
<tr class="separator:ab3daaea05fd8408beccb599fd926a560"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a200b723298b9cab1da01b70fbbe2b403"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a200b723298b9cab1da01b70fbbe2b403">runCompleted</a> ()</td></tr>
<tr class="separator:a200b723298b9cab1da01b70fbbe2b403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html">syslog4cj.impl.AbstractSyslogWriter</a></td></tr>
<tr class="memitem:ad95ed1ff711ca0c5614aa64acd87b6ca inherit pro_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">protected func&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#ad95ed1ff711ca0c5614aa64acd87b6ca">runCompleted</a> ():Unit</td></tr>
<tr class="separator:ad95ed1ff711ca0c5614aa64acd87b6ca inherit pro_methods_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ac7702a0e667191e849174dd1b6035615"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#ac7702a0e667191e849174dd1b6035615">var tcpNetSyslog</a> : ?<a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslog.html">TCPNetSyslog</a> = None</td></tr>
<tr class="separator:ac7702a0e667191e849174dd1b6035615"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedc37423e86e0c456421bf2c2498d71e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#aedc37423e86e0c456421bf2c2498d71e">var socket</a> : ?TcpSocket = None</td></tr>
<tr class="separator:aedc37423e86e0c456421bf2c2498d71e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90d818037891a71f14a57cfefdbde5d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a90d818037891a71f14a57cfefdbde5d0">var tcpNetSyslogConfig</a> : ?<a class="el" href="interfacesyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogConfigIF.html">TCPNetSyslogConfigIF</a> = None</td></tr>
<tr class="separator:a90d818037891a71f14a57cfefdbde5d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bb2d3877c23ac88c587218c0cbc300f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogWriter.html#a5bb2d3877c23ac88c587218c0cbc300f">var lastSocketCreationTimeMs</a> = 0</td></tr>
<tr class="separator:a5bb2d3877c23ac88c587218c0cbc300f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html">syslog4cj.impl.AbstractSyslogWriter</a></td></tr>
<tr class="memitem:a2f27925f8682e2d7a705c00ca47bae5c inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a2f27925f8682e2d7a705c00ca47bae5c">let lock</a> = ReentrantMutex()</td></tr>
<tr class="separator:a2f27925f8682e2d7a705c00ca47bae5c inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a59667b7daaeb33df5463c40744e5a4 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a1a59667b7daaeb33df5463c40744e5a4">var syslog</a> : ?<a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslog.html">AbstractSyslog</a> = None</td></tr>
<tr class="separator:a1a59667b7daaeb33df5463c40744e5a4 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d5ff5da56e378c580504ed928351e6f inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a9d5ff5da56e378c580504ed928351e6f">var queuedMessages</a> : ?LinkedList&lt;Array&lt;Byte&gt;&gt; = None</td></tr>
<tr class="separator:a9d5ff5da56e378c580504ed928351e6f inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf88ee4a52cc80c4fe338fdf0518e98 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a5bf88ee4a52cc80c4fe338fdf0518e98">var thread</a> : ?Future&lt;Unit&gt; = None</td></tr>
<tr class="separator:a5bf88ee4a52cc80c4fe338fdf0518e98 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43f146190352cda919ba695612ffcc15 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#a43f146190352cda919ba695612ffcc15">var syslogConfig</a> : ?<a class="el" href="interfacesyslog4cj_1_1impl_1_1AbstractSyslogConfigIF.html">AbstractSyslogConfigIF</a> = None</td></tr>
<tr class="separator:a43f146190352cda919ba695612ffcc15 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb9211736acedea7a70ca5e0ba8e5e15 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsyslog4cj_1_1impl_1_1AbstractSyslogWriter.html#acb9211736acedea7a70ca5e0ba8e5e15">var isShutdown</a> = false</td></tr>
<tr class="separator:acb9211736acedea7a70ca5e0ba8e5e15 inherit pro_attribs_classsyslog4cj_1_1impl_1_1AbstractSyslogWriter"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>TCPNetSyslogWriter类 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a54900e6c6ba96a256f8565f4cd1313b9" name="a54900e6c6ba96a256f8565f4cd1313b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54900e6c6ba96a256f8565f4cd1313b9">&#9670;&#160;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public syslog4cj.impl.net.TCPNetSyslogWriter.init </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>构造函数 </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab3daaea05fd8408beccb599fd926a560" name="ab3daaea05fd8408beccb599fd926a560"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab3daaea05fd8408beccb599fd926a560">&#9670;&#160;</a></span>closeSocket()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.net.TCPNetSyslogWriter.closeSocket </td>
          <td>(</td>
          <td class="paramname"><em>socketToClose</em>:&#160;</td>
          <td class="paramtype">?TcpSocket</td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>关闭套接字 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">socketToClose</td><td>要关闭的套接字 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="abb97983e4a436e32786d1b7283d831b2" name="abb97983e4a436e32786d1b7283d831b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb97983e4a436e32786d1b7283d831b2">&#9670;&#160;</a></span>createSocket()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected open func syslog4cj.impl.net.TCPNetSyslogWriter.createSocket </td>
          <td>(</td>
          <td class="paramname"><em>hostAddress</em>:&#160;</td>
          <td class="paramtype">IPAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>port</em>:&#160;</td>
          <td class="paramtype">UInt16, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>keepalive</em>:&#160;</td>
          <td class="paramtype">Bool&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建套接字 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">hostAddress</td><td>主机地址 </td></tr>
    <tr><td class="paramname">port</td><td>端口号 </td></tr>
    <tr><td class="paramname">keepalive</td><td>是否保持连接 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TcpSocket实例 </dd></dl>

</div>
</div>
<a id="aaef31a149a463ad3b997442284cee2c3" name="aaef31a149a463ad3b997442284cee2c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaef31a149a463ad3b997442284cee2c3">&#9670;&#160;</a></span>flush()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.net.TCPNetSyslogWriter.flush </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>刷新 </p>

</div>
</div>
<a id="a94f96eb9d69af2a16f64f83c933460db" name="a94f96eb9d69af2a16f64f83c933460db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94f96eb9d69af2a16f64f83c933460db">&#9670;&#160;</a></span>getOutput()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected open func syslog4cj.impl.net.TCPNetSyslogWriter.getOutput </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: OutputStream </td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取输出流 </p><dl class="section return"><dt>Returns</dt><dd>输出流 </dd></dl>

</div>
</div>
<a id="a5797eccd3568c1e973a08408821d613e" name="a5797eccd3568c1e973a08408821d613e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5797eccd3568c1e973a08408821d613e">&#9670;&#160;</a></span>getSocket()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.net.TCPNetSyslogWriter.getSocket </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取套接字 </p><dl class="section return"><dt>Returns</dt><dd>TcpSocket实例 </dd></dl>

</div>
</div>
<a id="a7c2b2bf86e1819f853adcfcf5ca2119c" name="a7c2b2bf86e1819f853adcfcf5ca2119c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c2b2bf86e1819f853adcfcf5ca2119c">&#9670;&#160;</a></span>initialize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func syslog4cj.impl.net.TCPNetSyslogWriter.initialize </td>
          <td>(</td>
          <td class="paramname"><em>abstractSyslog</em>:&#160;</td>
          <td class="paramtype">AbstractSyslog</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>初始化 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">abstractSyslog</td><td>Syslog实例 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a200b723298b9cab1da01b70fbbe2b403" name="a200b723298b9cab1da01b70fbbe2b403"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a200b723298b9cab1da01b70fbbe2b403">&#9670;&#160;</a></span>runCompleted()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">protected func syslog4cj.impl.net.TCPNetSyslogWriter.runCompleted </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>运行完成 </p>

</div>
</div>
<a id="aa1962d552192da8660318d3ae84220e2" name="aa1962d552192da8660318d3ae84220e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa1962d552192da8660318d3ae84220e2">&#9670;&#160;</a></span>shutdown()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public func syslog4cj.impl.net.TCPNetSyslogWriter.shutdown </td>
          <td>(</td>
          <td class="paramtype"></td><td>)</td>
          <td>: Unit </td>
        </tr>
      </table>
</div><div class="memdoc">
<p>关闭 </p>

</div>
</div>
<a id="ad827f78983f7cf551615388cfed83b0f" name="ad827f78983f7cf551615388cfed83b0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad827f78983f7cf551615388cfed83b0f">&#9670;&#160;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public override func syslog4cj.impl.net.TCPNetSyslogWriter.write </td>
          <td>(</td>
          <td class="paramname"><em>message</em>:&#160;</td>
          <td class="paramtype">Array&lt;Byte&gt;</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>写入日志 </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>日志消息 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a5bb2d3877c23ac88c587218c0cbc300f" name="a5bb2d3877c23ac88c587218c0cbc300f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bb2d3877c23ac88c587218c0cbc300f">&#9670;&#160;</a></span>var lastSocketCreationTimeMs</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.net.TCPNetSyslogWriter.var lastSocketCreationTimeMs = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aedc37423e86e0c456421bf2c2498d71e" name="aedc37423e86e0c456421bf2c2498d71e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedc37423e86e0c456421bf2c2498d71e">&#9670;&#160;</a></span>var socket</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.net.TCPNetSyslogWriter.var socket : ?TcpSocket = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac7702a0e667191e849174dd1b6035615" name="ac7702a0e667191e849174dd1b6035615"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7702a0e667191e849174dd1b6035615">&#9670;&#160;</a></span>var tcpNetSyslog</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.net.TCPNetSyslogWriter.var tcpNetSyslog : ?<a class="el" href="classsyslog4cj_1_1impl_1_1net_1_1TCPNetSyslog.html">TCPNetSyslog</a> = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a90d818037891a71f14a57cfefdbde5d0" name="a90d818037891a71f14a57cfefdbde5d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90d818037891a71f14a57cfefdbde5d0">&#9670;&#160;</a></span>var tcpNetSyslogConfig</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">syslog4cj.impl.net.TCPNetSyslogWriter.var tcpNetSyslogConfig : ?<a class="el" href="interfacesyslog4cj_1_1impl_1_1net_1_1TCPNetSyslogConfigIF.html">TCPNetSyslogConfigIF</a> = None</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/impl/net/<a class="el" href="tcp__net__syslog__writer_8cj.html">tcp_net_syslog_writer.cj</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
